home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3p / ustestsema.z / ustestsema
Encoding:
Text File  |  1998-10-20  |  1.4 KB  |  67 lines

  1.  
  2.  
  3.  
  4. UUUUSSSSTTTTEEEESSSSTTTTSSSSEEEEMMMMAAAA((((3333PPPP))))                                                  UUUUSSSSTTTTEEEESSSSTTTTSSSSEEEEMMMMAAAA((((3333PPPP))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ustestsema - return the value of a semaphore
  10.  
  11. CCCC SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      ####iiiinnnncccclllluuuuddddeeee <<<<uuuulllloooocccckkkkssss....hhhh>>>>
  13.  
  14.      iiiinnnntttt uuuusssstttteeeessssttttsssseeeemmmmaaaa ((((uuuusssseeeemmmmaaaa____tttt ****sssseeeemmmmaaaa))));;;;
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      _u_s_t_e_s_t_s_e_m_a returns the current value of the semaphore specified by _s_e_m_a.
  18.      This should be viewed as a snapshot only, useful for debugging.
  19.  
  20. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  21.      usinitsema(3P), usnewsema(3P), uspsema(3P), uscpsema(3P), usvsema(3P).
  22.  
  23. DDDDIIIIAAAAGGGGNNNNOOOOSSSSTTTTIIIICCCCSSSS
  24.      The current count of the semaphore is returned.
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.